package com.tepth.remote.control.base.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Description:
 *
 * @author Hequn.Lee
 * @date 2018/11/23
 */
public class ApplyHistoryBean implements Parcelable {

    private int autoId;
    private int fenceId;
    private int useFor;
    private String proName;
    private int projectId;
    private String userName;
    private String context;
    private int exceptionType;
    private String exName;
    private String beginDate;
    private String endDate;
    private String desc;
    private int auditingId;
    private String auditingName;
    private int auditingType;
    private String auditingTypeName;
    private String auditingReason;
    private String auditingDate;
    private String createDate;

    public ApplyHistoryBean() {
    }

    private ApplyHistoryBean(Parcel in) {
        autoId = in.readInt();
        fenceId = in.readInt();
        useFor = in.readInt();
        proName = in.readString();
        projectId = in.readInt();
        userName = in.readString();
        context = in.readString();
        exceptionType = in.readInt();
        exName = in.readString();
        beginDate = in.readString();
        endDate = in.readString();
        desc = in.readString();
        auditingId = in.readInt();
        auditingName = in.readString();
        auditingType = in.readInt();
        auditingTypeName = in.readString();
        auditingReason = in.readString();
        auditingDate = in.readString();
        createDate = in.readString();
    }

    public static final Creator<ApplyHistoryBean> CREATOR = new Creator<ApplyHistoryBean>() {
        @Override
        public ApplyHistoryBean createFromParcel(Parcel in) {
            return new ApplyHistoryBean(in);
        }

        @Override
        public ApplyHistoryBean[] newArray(int size) {
            return new ApplyHistoryBean[size];
        }
    };

    public int getAutoId() {
        return autoId;
    }

    public ApplyHistoryBean setAutoId(int autoId) {
        this.autoId = autoId;
        return this;
    }

    public int getFenceId() {
        return fenceId;
    }

    public ApplyHistoryBean setFenceId(int fenceId) {
        this.fenceId = fenceId;
        return this;
    }

    public int getUseFor() {
        return useFor;
    }

    public ApplyHistoryBean setUseFor(int useFor) {
        this.useFor = useFor;
        return this;
    }

    public String getProName() {
        return proName;
    }

    public ApplyHistoryBean setProName(String proName) {
        this.proName = proName;
        return this;
    }

    public int getProjectId() {
        return projectId;
    }

    public ApplyHistoryBean setProjectId(int projectId) {
        this.projectId = projectId;
        return this;
    }

    public String getUserName() {
        return userName;
    }

    public ApplyHistoryBean setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public String getContext() {
        return context;
    }

    public ApplyHistoryBean setContext(String context) {
        this.context = context;
        return this;
    }

    public int getExceptionType() {
        return exceptionType;
    }

    public ApplyHistoryBean setExceptionType(int exceptionType) {
        this.exceptionType = exceptionType;
        return this;
    }

    public String getExName() {
        return exName;
    }

    public ApplyHistoryBean setExName(String exName) {
        this.exName = exName;
        return this;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public ApplyHistoryBean setBeginDate(String beginDate) {
        this.beginDate = beginDate;
        return this;
    }

    public String getEndDate() {
        return endDate;
    }

    public ApplyHistoryBean setEndDate(String endDate) {
        this.endDate = endDate;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public ApplyHistoryBean setDesc(String desc) {
        this.desc = desc;
        return this;
    }

    public int getAuditingId() {
        return auditingId;
    }

    public ApplyHistoryBean setAuditingId(int auditingId) {
        this.auditingId = auditingId;
        return this;
    }

    public String getAuditingName() {
        return auditingName;
    }

    public ApplyHistoryBean setAuditingName(String auditingName) {
        this.auditingName = auditingName;
        return this;
    }

    public int getAuditingType() {
        return auditingType;
    }

    public ApplyHistoryBean setAuditingType(int auditingType) {
        this.auditingType = auditingType;
        return this;
    }

    public String getAuditingTypeName() {
        return auditingTypeName;
    }

    public ApplyHistoryBean setAuditingTypeName(String auditingTypeName) {
        this.auditingTypeName = auditingTypeName;
        return this;
    }

    public String getAuditingReason() {
        return auditingReason;
    }

    public ApplyHistoryBean setAuditingReason(String auditingReason) {
        this.auditingReason = auditingReason;
        return this;
    }

    public String getAuditingDate() {
        return auditingDate;
    }

    public ApplyHistoryBean setAuditingDate(String auditingDate) {
        this.auditingDate = auditingDate;
        return this;
    }

    public String getCreateDate() {
        return createDate;
    }

    public ApplyHistoryBean setCreateDate(String createDate) {
        this.createDate = createDate;
        return this;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(autoId);
        dest.writeInt(fenceId);
        dest.writeInt(useFor);
        dest.writeString(proName);
        dest.writeInt(projectId);
        dest.writeString(userName);
        dest.writeString(context);
        dest.writeInt(exceptionType);
        dest.writeString(exName);
        dest.writeString(beginDate);
        dest.writeString(endDate);
        dest.writeString(desc);
        dest.writeInt(auditingId);
        dest.writeString(auditingName);
        dest.writeInt(auditingType);
        dest.writeString(auditingTypeName);
        dest.writeString(auditingReason);
        dest.writeString(auditingDate);
        dest.writeString(createDate);
    }
}
